package com.cloudcc.mobile.entity.map;

import java.io.Serializable;
import java.util.List;

/**
 * Created by lin on 2017/5/10.
 */

public class NearByMapInfo implements Serializable {

    private String total;
    private List<NearByMapInfo2> data;

    public NearByMapInfo(String total, List<NearByMapInfo2> data) {
        this.total = total;
        this.data = data;
    }

    public String getTotal() {
        return total;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    public List<NearByMapInfo2> getData() {
        return data;
    }

    public void setData(List<NearByMapInfo2> data) {
        this.data = data;
    }

    public class NearByMapInfo2 implements Serializable{
        /**
         * 精度
         */
        private double latitude;
        /**
         * 纬度
         */
        private double langitude;
        /**
         * 对象ID
         */
        private String id;
        /**
         * 商家名称
         */
        private String name;
        /**
         * 距离
         */
        private String distance;
        private String address;

        public NearByMapInfo2(double latitude, double langitude, String id, String name, String distance, String address) {
            this.latitude = latitude;
            this.langitude = langitude;
            this.id = id;
            this.name = name;
            this.distance = distance;
            this.address = address;
        }


        public double getLatitude() {
            return latitude;
        }

        public void setLatitude(double latitude) {
            this.latitude = latitude;
        }

        public double getLangitude() {
            return langitude;
        }

        public void setLangitude(double langitude) {
            this.langitude = langitude;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getDistance() {
            return distance;
        }

        public void setDistance(String distance) {
            this.distance = distance;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }
    }


}
